package com.xugou.dao;

import com.xugou.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author xugou
 * @date 2021/11/12  21:41
 */
public interface UserMapper {
    //通过用户名获取用户
    public User getUserByName(@Param("username") String name);
    //通过用户名密码来新建用户
    public int registerByUserProperty(User user);

}
